package com.lijie.bs_recruit.model;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lijie
 * @since 2021-04-07
 */
@ApiModel(value="Jobfairbusiness对象", description="")
public class Jobfaircompany implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "招聘会Id")
    @TableField("jobfairId")
    private Integer jobfairId;

    @ApiModelProperty(value = "企业id")
    @TableField("companyId")
    private Integer companyId;

    @TableField(exist = false)
    private Company company;

    public Company getCompany() {
        return company;
    }

    public void setCompany(Company company) {
        this.company = company;
    }

    public Integer getJobfairId() {
        return jobfairId;
    }

    public void setJobfairId(Integer jobfairId) {
        this.jobfairId = jobfairId;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    @Override
    public String toString() {
        return "Jobfairbusiness{" +
        "jobfairId=" + jobfairId +
        ", businessId=" + companyId +
        "}";
    }
}
